from PyQt5 import QtWidgets, QtGui, QtCore

from UI.SearchView import MySearchWidget


class FalseValidWidget(MySearchWidget):
    def __init__(self):
        super(FalseValidWidget, self).__init__()
        self.select_conditions = ["id", "userId"]

    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(800, 1000)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(Form)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName("label")
        self.label.setText("该业务暂时不可用")
        self.verticalLayout.addWidget(self.label)

        QtCore.QMetaObject.connectSlotsByName(Form)
